<div class="weui-tabbar">

    {switch name="action_name" }
    {case value="index"} <a href="{:url('mengbao/index')}" class="weui-tabbar__item  weui-bar__item--on ">{/case}
    {default /} <a href="{:url('mengbao/index')}" class="weui-tabbar__item">
        {/switch}
        <p class="weui-tabbar__label c-ff">首页</p>
    </a>
    {switch name="action_name" }
    {case value="rank"} <a href="{:url('mengbao/rank')}" class="weui-tabbar__item  weui-bar__item--on ">{/case}
        {default /} <a href="{:url('mengbao/rank')}" class="weui-tabbar__item">
            {/switch}
            <p class="weui-tabbar__label c-ff">排行</p>
        </a>
        {switch name="action_name" }
        {case value="reg"} <a href="{:url('mengbao/reg')}" class="weui-tabbar__item  weui-bar__item--on ">{/case}
            {default /} <a href="{:url('mengbao/reg')}" class="weui-tabbar__item">
                {/switch}

                <p class="weui-tabbar__label c-ff">报名</p>
            </a>

            {switch name="action_name" }
            {case value="prize"} <a href="{:url('mengbao/prize')}" class="weui-tabbar__item  weui-bar__item--on ">{/case}
                {default /} <a href="{:url('mengbao/prize')}" class="weui-tabbar__item">
                    {/switch}


                    <p class="weui-tabbar__label c-ff">奖品</p>
                </a>
</div>